import axios from 'axios';

//创建实例
let Axios = axios.create({
    baseURL:'http://82.157.94.91:8000/topics'
})
//响应拦截
Axios.interceptors.response.use(function (response) {
    if(response.status == 200){
        return response.data;
    }
  }, 
  function (error) {
    return Promise.reject(error);
  });
export default Axios;